<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
</head>
<body>
    <div class="layui-form timo-compile">
    <form th:action="@{/project/projectList/save}">
        <input type="hidden" name="id" th:if="${projectList}" th:value="${projectList.id}">
        <div class="layui-form-item">
            <label class="layui-form-label">项目名称</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="title" placeholder="请输入项目名称" th:value="${projectList?.title}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">项目地址</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="adderss" placeholder="请输入项目地址" th:value="${projectList?.adderss}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">设备数量</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="devices" placeholder="请输入设备数量" th:value="${projectList?.devices}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">施工单位</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="construction" placeholder="请输入施工单位" th:value="${projectList?.construction}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">租赁单位</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="lessor" placeholder="请输入租赁单位" th:value="${projectList?.lessor}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">维保等级</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="level" placeholder="请输入维保等级" th:value="${projectList?.level}">
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>